import Vue from 'vue'
import Router from 'vue-router'
import NotFoundComponent from '@/components/NotFound'
import Cooperation from '@/components/Cooperation'/* 合作商户 */
import ClassifiCation from '@/components/ClassifiCation'/* 服务分类 */
import ServiceHome from '@/components/ServiceHome'/* 服务首页 */
import ServiceDetail from '@/components/ServiceDetail' /* 服务详情 */
import Demand from '@/components/Demand' /* 备注需求 */
import ServiceTime from '@/components/ServiceTime' /* 服务时间 */
import Located from '@/components/Located' /* 选择省市县 */
import Address from '@/components/Address' /* 添加地址 */
import Terms from '@/components/Terms' /* 服务条款 */
import ManageAddress from '@/components/ManageAddress' /* 地址管理 */
import ReviseAddress from '@/components/ReviseAddress' /* 编辑地址 */
import PersonalCenter from '@/components/PersonalCenter' /* 个人中心 */
import MessageCenter from '@/components/MessageCenter' /* 消息中心 */
import MessageDetail from '@/components/MessageDetail' /* 详细详情 */
import BindMobile from '@/components/BindMobile' /* 绑定手机号 */
import Dispatch from '@/components/Dispatch' /* 派单中 */
import MyCard from '@/components/MyCard' /* 我的卡券 */
import MyPurse from '@/components/MyPurse' /* 我的钱包 */
import BindZfb from '@/components/BindZfb' /* 绑定支付宝 */
import Evaluation from '@/components/Evaluation' /* 评价 */
import MyMenu from '@/components/MyMenu' /* 订单 */
import PayOrder from '@/components/PayOrder' /* 支付 */
import ReservationDetail from '@/components/ReservationDetail' /* 服务详情 */
import Evaluate from '@/components/Evaluate' /* 评价 */
import CompanyIntroduce from '@/components/CompanyIntroduce' /* 公司介绍 */
import PersonalInfo from '@/components/PersonalInfo' /* 信息编辑 */
import InfoEditer from '@/components/InfoEditer' /* 编辑信息 */
import AboutUs from '@/components/AboutUs' /* 关于我们 */
import Cooper from '@/components/Cooper' /* 合作商户 */
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/MessageDetail',
      name: 'MessageDetail',
      component: MessageDetail
    },
    {
      path: '/Cooper',
      name: 'Cooper',
      component: Cooper
    },
    {
      path: '/AboutUs',
      name: 'AboutUs',
      component: AboutUs
    },
    {
      path: '/InfoEditer',
      name: 'InfoEditer',
      component: InfoEditer
    },
    {
      path: '/PersonalInfo',
      name: 'PersonalInfo',
      component: PersonalInfo
    },
    {
      path: '/CompanyIntroduce',
      name: 'CompanyIntroduce',
      component: CompanyIntroduce
    },
    {
      path: '/Evaluate',
      name: 'Evaluate',
      component: Evaluate
    },
    {
      path: '/ReservationDetail',
      name: 'ReservationDetail',
      component: ReservationDetail
    },
    {
      path: '/PayOrder',
      name: 'PayOrder',
      component: PayOrder
    },
    {
      path: '/MyMenu',
      name: 'MyMenu',
      component: MyMenu
    },
    {
      path: '/Evaluation',
      name: 'Evaluation',
      component: Evaluation
    },
    {
      path: '/BindZfb',
      name: 'BindZfb',
      component: BindZfb
    },
    {
      path: '/MyPurse',
      name: 'MyPurse',
      component: MyPurse
    },
    {
      path: '/MyCard',
      name: 'MyCard',
      component: MyCard
    },
    {
      path: '/Dispatch',
      name: 'Dispatch',
      component: Dispatch
    },
    {
      path: '/Located',
      name: 'Located',
      component: Located
    },
    {
      path: '/BindMobile',
      name: 'BindMobile',
      component: BindMobile
    },
    {
      path: '/MessageCenter',
      name: 'MessageCenter',
      component: MessageCenter
    },
    {
      path: '/PersonalCenter',
      name: 'PersonalCenter',
      component: PersonalCenter
    },
    {
      path: '/ReviseAddress',
      name: 'ReviseAddress',
      component: ReviseAddress
    },
    {
      path: '/ManageAddress',
      name: 'ManageAddress',
      component: ManageAddress
    },
    {
      path: '/Terms',
      name: 'Terms',
      component: Terms
    },
    {
      path: '/Address',
      name: 'Address',
      component: Address
    },
    {
      path: '/ServiceTime',
      name: 'ServiceTime',
      component: ServiceTime
    },
    {
      path: '/ServiceHome',
      name: 'ServiceHome',
      component: ServiceHome
    },
    {
      path: '/Demand',
      name: 'Demand',
      component: Demand
    },
    {
      path: '/ServiceDetail',
      name: 'ServiceDetail',
      component: ServiceDetail
    },
    {
      path: '/Cooperation',
      name: 'Cooperation',
      component: Cooperation
    },
    {
      path: '/ClassifiCation',
      name: 'ClassifiCation',
      component: ClassifiCation
    },
    {
      path: '*',
      component: NotFoundComponent
    }
  ]
})
